package com.cadre.system.service.impl;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cadre.system.domain.officer.PX_PXBXX_DETAIL;
import com.cadre.system.service.PX_PXBXX_DETAILService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.cadre.system.mapper.PX_PXBXX_DETAILMapper;

import java.util.Map;
import java.util.List;

@Service("PX_PXBXX_DETAILService")
/* loaded from: PX_PXBXX_DETAILServiceImpl.class */
public class PX_PXBXX_DETAILServiceImpl extends ServiceImpl<BaseMapper<PX_PXBXX_DETAIL>, PX_PXBXX_DETAIL> implements PX_PXBXX_DETAILService {
    @Autowired
    private PX_PXBXX_DETAILMapper PX_PXBXX_DETAILMapper;

    @Override
    public List<PX_PXBXX_DETAIL> selectByAll(Map<String, Object> map) {
        return this.PX_PXBXX_DETAILMapper.selectByAll(map);
    }

    @Override // com.tdqy.cadre.modular.profess.service.PX_PXBXX_DETAILService
    @Transactional(rollbackFor = {Exception.class})
    public int deleteByPxb(String pxbcode) {
        return this.PX_PXBXX_DETAILMapper.deleteByPxb(pxbcode);
    }

    @Override // com.tdqy.cadre.modular.profess.service.PX_PXBXX_DETAILService
    @Transactional(rollbackFor = {Exception.class})
    public int deletePerson(String pxbcode, String[] ids) {
        return this.PX_PXBXX_DETAILMapper.deletePerson(pxbcode, ids);
    }
}
